#!/bin/tcsh -f
# Scriptname: filetest2
foreach file (`ls`)
   if ( -rwf $file ) then
      echo "${file}: readable/writeable/plain file"
   endif
end
